# cmake needs this line
cmake_minimum_required(VERSION 3.10)
# Define project name
project(CeresDemo)

# compile features
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)
# Enable C++14
# set(CMAKE_CXX_STANDARD 14)
# set(CMAKE_CXX_STANDARD_REQUIRED TRUE)

# macros
add_definitions(-DUNICODE -D_UNICODE)

# 使用Qt的模块
set(MEQT_LIB Core)
find_package(Qt5 COMPONENTS REQUIRED ${MEQT_LIB})

include_directories(
    ${EIGEN3_INCLUDE_DIR}
    ${CERES_INCLUDE_DIR}
    ${ME_SOURCE_DIR}
    )

add_subdirectory(Chapter1)
add_subdirectory(Equation)


